package com.hspedu.exception_;

import java.io.FileInputStream;
import java.io.IOException;

/**
 * @author
 * @version 1.0
 */
public class Exception02 {
    public static void main(String[] args) {
        int num1 = 10;
        int num2 = 0;
        try {
            int res = num1 / num2;
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }
}